<div class="column-left">
  <h3>MENU</h3>
  <a href="#skip-menu" class="hidden">Skip menu</a>
  <ul class="menu">
    <li><a href="ManterProfessor.jsp">perfil</a></li>
    <li><a href="EditarGrade.jsp">Grade Horaria</a></li>
     <li><a href="ManterMateria.jsp">Materias</a></li>
    </ul>
</div>
<div id="skip-menu"></div>
<script>
    document.body.onload = function(){
        var arq = window.location.pathname.split('/').pop();
        $('.menu a[href="'+arq+'"]').addClass('active');
    };
</script>